﻿<%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>Ảnh vui | Hài vãi</title>
        <meta name="description" content="Xả stress tại afun.vn"/>
		<link rel="shortcut icon" href="/content/images/favicon.ico"/>
		<link rel="stylesheet" href="styles/haivl.css" type="text/css" />		
		<meta property="og:type" content="website" />
		<meta property="og:site_name" content="haivl.com" />
		<meta property="fb:app_id" content="378808135489760" />
    </head>
<body>
    <div id="header">
		<a href="/" id="logo">haivl</a>
		<ul id="menuBar">
			<li class="selected"><a href="/">Ảnh mới</a></li>
			<li><a href="/hot">Thơ Hài</a></li>
			<li><a href="/old">Đọc offline</a></li>
		</ul>
		<div class="clear">
		</div>
	</div>
    <div id="content">
		<div class="photoList">
		    <asp:Repeater ID="dgrListImages" runat="server">
                <ItemTemplate>
                    <div class="photoListItem">
				        <div class="info">
					        <h2>
						        <a href="/photo/<%# Eval("ID") %>"><%# Eval("Name") %></a>
					        </h2>
					        <%--<div class="stats">
						        <span class="views">318</span> 
						        <span class="comments">1</span>
						        <span class="likes">7</span> 
					        </div>--%>
				        </div>
				        <div class="thumbnail">
					        <a href="/photo/<%# Eval("ID") %>">
						        <img src="<%# Eval("Image") %>" alt="<%# Eval("Name") %>" />
					        </a>
				        </div>
			        </div>                       
                </ItemTemplate>
            </asp:Repeater>
            	   
			<div class="navLinks">
			    <% if(nextID > 0){ %>
				    <a class="buttons" href="Default.aspx?MaxID=<%= nextID %>">Trang sau &#187;</a>        
				<%} %>
			</div>
			<div class="clear"></div>
		</div>
    </div>
    <div id="footer">
		Copyright © 2012 <a href="http://www.appvl.com/" target="_blank">Appvl</a>
	</div>
	<div class="viewSwitcher">
		Bạn đang xem phiêm bản dành cho di động<br /><a href="/home/switchview?mobile=false&amp;url=%2f">Xem phiên bản đầy đủ dành cho máy tính</a>    
	</div>

    <div id="fb-root"></div>   
</body>
</html>

